import http from "../index";

export const getByName = (params) => http({
  url: "/api/selectOptions/getByName?" + params,
  method: "get"
})

export const submitList = (data) => http({
  url: "/api/selectOptions/submit",
  method: "post",
  data
})

export const submitOne = (data) => http({
  url: "/api/selectOptions/submitOne",
  method: "post",
  data
})

export const deleteById = (params) => http({
  url: "/api/selectOptions/delete?" + params,
  method: "delete"
})
